package com.yz.group5.med_booking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("medical_record")
public class MedicalRecord {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer registrationId;  // 挂号记录ID
    private String diagnosis;        // 诊断结果
    private String treatment;        // 治疗建议
    private Integer needsHospital;   // 是否需要住院：0-否，1-是
}    